renderExtras

fun renderExtras(context: DrawContext, mouseX: Int, mouseY: Int, delta: Float)


open fun renderExtras(context: DrawContext, x: Int, y: Int, width: Int, height: Int, mouseX: Int, mouseY: Int, hovered: Boolean, focused: Boolean, delta: Float)

Render call for rendering anything else related to the entry. This call is not bound by a render scissor, so you can draw "out of bounds" as needed.

Author

fzzyhmstrs

Since

0.6.0

Parameters

context

DrawContext

x

Integer position of the left edge of the entry in pixels

y

Integer position of the top edge of the entry in pixels

width

Integer width of the entry in pixels

height

Integer height of the entry in pixels

mouseX

Integer horizontal position of the mouse from the left of the screen in pixels

mouseY

Integer vertical position of the mouse from the top of the screen in pixels

hovered

whether the entry is hovered with the mouse

focused

whether the entry is focused (has been clicked on or navigated to via keyboard)

delta

tick delta